<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>hdcp22_rx: xhdcp22_rx_crypt.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">hdcp22_rx
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xhdcp22__rx__crypt_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xhdcp22_rx_crypt.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga2a4b131d960ce7477390623dcb500c22"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rx.html#ga2a4b131d960ce7477390623dcb500c22">XHdcp22Rx_CalcMontNPrime</a> (u8 *NPrime, const u8 *N, int NDigits)</td></tr>
<tr class="memdesc:ga2a4b131d960ce7477390623dcb500c22"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is used to calculate the Montgomery NPrime.  <a href="group__hdcp22__rx.html#ga2a4b131d960ce7477390623dcb500c22">More...</a><br/></td></tr>
<tr class="separator:ga2a4b131d960ce7477390623dcb500c22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga509c671d4be808b4cd66fad2bf587bed"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rx.html#ga509c671d4be808b4cd66fad2bf587bed">XHdcp22Rx_RsaesOaepEncrypt</a> (const <a class="el" href="struct_x_hdcp22___rx___kpub_rx.html">XHdcp22_Rx_KpubRx</a> *KpubRx, const u8 *Message, const u32 MessageLen, const u8 *MaskingSeed, u8 *EncryptedMessage)</td></tr>
<tr class="memdesc:ga509c671d4be808b4cd66fad2bf587bed"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function implements the RSAES-OAEP-Encrypt operation.  <a href="group__hdcp22__rx.html#ga509c671d4be808b4cd66fad2bf587bed">More...</a><br/></td></tr>
<tr class="separator:ga509c671d4be808b4cd66fad2bf587bed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga736d136f515b397e659377757763aed2"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rx.html#ga736d136f515b397e659377757763aed2">XHdcp22Rx_RsaesOaepDecrypt</a> (<a class="el" href="struct_x_hdcp22___rx.html">XHdcp22_Rx</a> *InstancePtr, const <a class="el" href="struct_x_hdcp22___rx___kpriv_rx.html">XHdcp22_Rx_KprivRx</a> *KprivRx, u8 *EncryptedMessage, u8 *Message, int *MessageLen)</td></tr>
<tr class="memdesc:ga736d136f515b397e659377757763aed2"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function implements the RSAES-OAEP-Decrypt operation.  <a href="group__hdcp22__rx.html#ga736d136f515b397e659377757763aed2">More...</a><br/></td></tr>
<tr class="separator:ga736d136f515b397e659377757763aed2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga65027e431ba9aa70ab2552875638b2a9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rx.html#ga65027e431ba9aa70ab2552875638b2a9">XHdcp22Rx_GenerateRandom</a> (<a class="el" href="struct_x_hdcp22___rx.html">XHdcp22_Rx</a> *InstancePtr, int NumOctets, u8 *RandomNumberPtr)</td></tr>
<tr class="memdesc:ga65027e431ba9aa70ab2552875638b2a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function generates random octets.  <a href="group__hdcp22__rx.html#ga65027e431ba9aa70ab2552875638b2a9">More...</a><br/></td></tr>
<tr class="separator:ga65027e431ba9aa70ab2552875638b2a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafb3b8c8121a9d5d87360d4c90121124d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rx.html#gafb3b8c8121a9d5d87360d4c90121124d">XHdcp22Rx_ComputeHPrime</a> (const u8 *Rrx, const u8 *RxCaps, const u8 *Rtx, const u8 *TxCaps, const u8 *Km, u8 *HPrime)</td></tr>
<tr class="memdesc:gafb3b8c8121a9d5d87360d4c90121124d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function computes HPrime used during HDCP 2.2 authentication and key exchange.  <a href="group__hdcp22__rx.html#gafb3b8c8121a9d5d87360d4c90121124d">More...</a><br/></td></tr>
<tr class="separator:gafb3b8c8121a9d5d87360d4c90121124d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad36540fb48852368b0db839790f7275a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rx.html#gad36540fb48852368b0db839790f7275a">XHdcp22Rx_ComputeEkh</a> (const u8 *KprivRx, const u8 *Km, const u8 *M, u8 *Ekh)</td></tr>
<tr class="memdesc:gad36540fb48852368b0db839790f7275a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function computes Ekh used during HDCP 2.2 authentication and key exchange for pairing with receiver.  <a href="group__hdcp22__rx.html#gad36540fb48852368b0db839790f7275a">More...</a><br/></td></tr>
<tr class="separator:gad36540fb48852368b0db839790f7275a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga50a73ce38d0b498f6eb72835d5989c8b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rx.html#ga50a73ce38d0b498f6eb72835d5989c8b">XHdcp22Rx_ComputeLPrime</a> (const u8 *Rn, const u8 *Km, const u8 *Rrx, const u8 *Rtx, u8 *LPrime)</td></tr>
<tr class="memdesc:ga50a73ce38d0b498f6eb72835d5989c8b"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function computes LPrime used during HDCP 2.2 locality check.  <a href="group__hdcp22__rx.html#ga50a73ce38d0b498f6eb72835d5989c8b">More...</a><br/></td></tr>
<tr class="separator:ga50a73ce38d0b498f6eb72835d5989c8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0d0ae93d871b67b802a5afd2c1a8eec0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rx.html#ga0d0ae93d871b67b802a5afd2c1a8eec0">XHdcp22Rx_ComputeKs</a> (const u8 *Rrx, const u8 *Rtx, const u8 *Km, const u8 *Rn, const u8 *Eks, u8 *Ks)</td></tr>
<tr class="memdesc:ga0d0ae93d871b67b802a5afd2c1a8eec0"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function computes the Ks used during HDCP 2.2 session key exchange.  <a href="group__hdcp22__rx.html#ga0d0ae93d871b67b802a5afd2c1a8eec0">More...</a><br/></td></tr>
<tr class="separator:ga0d0ae93d871b67b802a5afd2c1a8eec0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafad5e85ac43cb633331a0b7e138a6c63"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rx.html#gafad5e85ac43cb633331a0b7e138a6c63">XHdcp22Rx_ComputeVPrime</a> (const u8 *ReceiverIdList, u32 ReceiverIdListSize, const u8 *RxInfo, const u8 *SeqNumV, const u8 *Km, const u8 *Rrx, const u8 *Rtx, u8 *VPrime)</td></tr>
<tr class="memdesc:gafad5e85ac43cb633331a0b7e138a6c63"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function computes VPrime used during HDCP 2.2 repeater authentication.  <a href="group__hdcp22__rx.html#gafad5e85ac43cb633331a0b7e138a6c63">More...</a><br/></td></tr>
<tr class="separator:gafad5e85ac43cb633331a0b7e138a6c63"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga489ce6133dd84742be7437dcf059c3d0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__hdcp22__rx.html#ga489ce6133dd84742be7437dcf059c3d0">XHdcp22Rx_ComputeMPrime</a> (const u8 *StreamIdType, const u8 *SeqNumM, const u8 *Km, const u8 *Rrx, const u8 *Rtx, u8 *MPrime)</td></tr>
<tr class="memdesc:ga489ce6133dd84742be7437dcf059c3d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function computes VPrime used during HDCP 2.2 repeater authentication.  <a href="group__hdcp22__rx.html#ga489ce6133dd84742be7437dcf059c3d0">More...</a><br/></td></tr>
<tr class="separator:ga489ce6133dd84742be7437dcf059c3d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
